﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 战棋模拟器
{
    class 恩佐斯的子嗣:Minion
    {
        public 恩佐斯的子嗣():base()
        {
            buff = 1;
            Health = 2;
            Attack = 2;
            Star = 2;
        }

        public override void Deathrattle()
        {
            foreach(Minion m in pool.places)
            {
                if(m!=null)
                {
                    m.Attack += buff;
                    m.Health += buff;
                }
            }
            base.Deathrattle();
        }


        public override Minion NewOne()
        {
            return new 恩佐斯的子嗣();
        }
    }


    class 恩佐斯的子嗣_金色 : 恩佐斯的子嗣
    {
        public 恩佐斯的子嗣_金色() : base()
        {
            Attack *= 2;
            Health *= 2;
            count *= 2;
            buff *= 2;
        }

        public override Minion NewOne()
        {
            return new 恩佐斯的子嗣_金色();
        }
    }
}
